<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="ice" uri="http://www.icesoft.com/icefaces/component"%>
<f:view>
    <ice:outputHtml>
        <ice:outputHead>
            <title>JSP Page</title>
            <ice:outputStyle href="./xmlhttp/css/xp/xp.css"/>
            <link rel="stylesheet" type="text/css" href="menuStyl.css"/>
        </ice:outputHead>
        <ice:outputBody>
                <div class="container1">
            <div class="header1" align="center"><ice:outputText value="Dodaj dyscyplinę"/></div>

            <br/>
            <ice:form>
            <ice:panelGrid columns="2">
                <ice:outputText value="Nazwa"/>
                <ice:inputText value="#{discipline.name}"/>
            </ice:panelGrid>
            <br/>
            <div align="center"><ice:commandButton value="Dodaj" action="#{discipline.dodaj}"/>
            <ice:commandButton value="Powrót" action="back"/></div>
            </ice:form>
            </div>
        </ice:outputBody>
    </ice:outputHtml>
</f:view> 